package com.cyl.manager.act.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 发布信息对象 fh_index_postinfo
 *
 * @author ruoyi
 * @date 2024-11-12
 */
@Data
public class oFhIndexPostinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    @ApiModelProperty("水域名")
    private String waterName;

    /** 用户名 */
    @ApiModelProperty("用户名")
    @Excel(name = "用户名")
    private String userName;

    /** 用户头像 */
    @ApiModelProperty("用户头像")
    @Excel(name = "用户头像")
    private String userImage;

    /** 经度 */
    @ApiModelProperty("经度")
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @ApiModelProperty("纬度")
    @Excel(name = "纬度")
    private String latitude;

    /** 地理位置位置 */
    @ApiModelProperty("地理位置位置")
    @Excel(name = "地理位置位置")
    private String userLocation;

    /** 地理信息类别 */
    @ApiModelProperty("地理信息类别")
    @Excel(name = "地理信息类别")
    private String locationType;

    /** 渔获图片 */
    @ApiModelProperty("渔获图片列表")
    @Excel(name = "渔获图片")
    private String postImages;

    /** @用户名 */
    @ApiModelProperty("@用户名")
    @Excel(name = "@用户名")
    private String shareName;

    /** 热点词 */
    @Excel(name = "热点词")
    private String hotWords;

    /** 发布信息 */
    @ApiModelProperty("发布信息")
    @Excel(name = "发布信息")
    private String postText;


    /** 发布时间 */
    @ApiModelProperty("发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime postTime;

    /** 装备列表ids */
    @ApiModelProperty("装备列表ids")
    @Excel(name = "装备列表ids")
    private String equips;

    /** 钓鱼方式 */
    @ApiModelProperty("钓鱼方式")
    @Excel(name = "钓鱼方式")
    private String fishingPractice;

    /** 天气 */
    @ApiModelProperty("天气")
    @Excel(name = "天气")
    private String weather;

    /** 温度 */
    @ApiModelProperty("温度")
    @Excel(name = "温度")
    private String temperature;

    /** 湿度 */
    @ApiModelProperty("湿度")
    @Excel(name = "湿度")
    private String sd;

    /** 渔获ids */
    @ApiModelProperty("渔获ids")
    @Excel(name = "渔获ids")
    private String fishIds;

    /** 点赞数 */
    @ApiModelProperty("点赞数")
    @Excel(name = "点赞数")
    private Long likes;

    /** 评论数 */
    @ApiModelProperty("评论数")
    @Excel(name = "评论数")
    private Long comments;

    /** 转发数 */
    @ApiModelProperty("转发数")
    @Excel(name = "转发数")
    private Long retweets;

    /** 权重 */
    @Excel(name = "权重")
    private String weight;

    /** 删除标志（0代表存在，1代表删除） */
    private Integer delFlag;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime createTime;

    @Override
    public String toString() {
        return "FhIndexPostinfo{" +
                "id=" + id +
                ", userId=" + userId +
                ", waterName='" + waterName + '\'' +
                ", userName='" + userName + '\'' +
                ", userImage='" + userImage + '\'' +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", userLocation='" + userLocation + '\'' +
                ", locationType='" + locationType + '\'' +
                ", postImages='" + postImages + '\'' +
                ", shareName='" + shareName + '\'' +
                ", hotWords='" + hotWords + '\'' +
                ", postText='" + postText + '\'' +
                ", postTime=" + postTime +
                ", equips='" + equips + '\'' +
                ", fishingPractice='" + fishingPractice + '\'' +
                ", weather='" + weather + '\'' +
                ", temperature='" + temperature + '\'' +
                ", sd='" + sd + '\'' +
                ", fishIds='" + fishIds + '\'' +
                ", likes=" + likes +
                ", comments=" + comments +
                ", retweets=" + retweets +
                ", weight='" + weight + '\'' +
                ", status='" + status + '\'' +
                ", createTime=" + createTime +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getWaterName() {
        return waterName;
    }

    public void setWaterName(String waterName) {
        this.waterName = waterName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserImage() {
        return userImage;
    }

    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getUserLocation() {
        return userLocation;
    }

    public void setUserLocation(String userLocation) {
        this.userLocation = userLocation;
    }

    public String getLocationType() {
        return locationType;
    }

    public void setLocationType(String locationType) {
        this.locationType = locationType;
    }

    public String getPostImages() {
        return postImages;
    }

    public void setPostImages(String postImages) {
        this.postImages = postImages;
    }

    public String getShareName() {
        return shareName;
    }

    public void setShareName(String shareName) {
        this.shareName = shareName;
    }

    public String getHotWords() {
        return hotWords;
    }

    public void setHotWords(String hotWords) {
        this.hotWords = hotWords;
    }

    public String getPostText() {
        return postText;
    }

    public void setPostText(String postText) {
        this.postText = postText;
    }

    public LocalDateTime getPostTime() {
        return postTime;
    }

    public void setPostTime(LocalDateTime postTime) {
        this.postTime = postTime;
    }

    public String getEquips() {
        return equips;
    }

    public void setEquips(String equips) {
        this.equips = equips;
    }

    public String getFishingPractice() {
        return fishingPractice;
    }

    public void setFishingPractice(String fishingPractice) {
        this.fishingPractice = fishingPractice;
    }

    public String getWeather() {
        return weather;
    }

    public void setWeather(String weather) {
        this.weather = weather;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getSd() {
        return sd;
    }

    public void setSd(String sd) {
        this.sd = sd;
    }

    public String getFishIds() {
        return fishIds;
    }

    public void setFishIds(String fishIds) {
        this.fishIds = fishIds;
    }

    public Long getLikes() {
        return likes;
    }

    public void setLikes(Long likes) {
        this.likes = likes;
    }

    public Long getComments() {
        return comments;
    }

    public void setComments(Long comments) {
        this.comments = comments;
    }

    public Long getRetweets() {
        return retweets;
    }

    public void setRetweets(Long retweets) {
        this.retweets = retweets;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public oFhIndexPostinfo() {
    }

    public oFhIndexPostinfo(Long id, Long userId, String waterName, String userName, String userImage, String longitude, String latitude, String userLocation, String locationType, String postImages, String shareName, String hotWords, String postText, LocalDateTime postTime, String equips, String fishingPractice, String weather, String temperature, String sd, String fishIds, Long likes, Long comments, Long retweets, String weight, String status, LocalDateTime createTime) {
        this.id = id;
        this.userId = userId;
        this.waterName = waterName;
        this.userName = userName;
        this.userImage = userImage;
        this.longitude = longitude;
        this.latitude = latitude;
        this.userLocation = userLocation;
        this.locationType = locationType;
        this.postImages = postImages;
        this.shareName = shareName;
        this.hotWords = hotWords;
        this.postText = postText;
        this.postTime = postTime;
        this.equips = equips;
        this.fishingPractice = fishingPractice;
        this.weather = weather;
        this.temperature = temperature;
        this.sd = sd;
        this.fishIds = fishIds;
        this.likes = likes;
        this.comments = comments;
        this.retweets = retweets;
        this.weight = weight;
        this.status = status;
        this.createTime = createTime;
    }
}
